package org.example.创建型模式.原型模式.重构代码.上机考试多套试每人题目和答案乱序排列场景.util;

import java.util.Map;
/**
 * TODO
 *
 * @author: hmxchen
 * @date : 2022/4/22 18:39
*/ 
public class Topic {

    private Map<String, String> option;  // 选项；A、B、C、D
    private String key;           // 答案；B

    public Topic() {
    }

    public Topic(Map<String, String> option, String key) {
        this.option = option;
        this.key = key;
    }

    public Map<String, String> getOption() {
        return option;
    }

    public void setOption(Map<String, String> option) {
        this.option = option;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
